Fix template specialization