Added the custom deserializer.