CORE-33: Make a default constructor and make serializer private again
CORE-34: Add getter for serviceClass