Replaced factory method to direct method on Serializer class - Issue #9