Removed generic type from Serializer.getDefaultSerializer().