Added serializer for pencil end.