Adds SerializerInterface.