Add getSerializer(Class) method