Fixed a problem adding custom serializers to hazelcast.