Added custom deserializer.