Refactoring for serializers

Extra empty line detected at body end.