G++ 4.4 on CentOS6 seems to get confused by direct inheritance from templates. Worked around by introducing typedef.