The case that `get_method` might be NULL is handled [here inside register_primitive_type_handler()](https://github.com/nikic/scalar_objects/pull/12/files#diff-3ca96f81bed30e03c91cd0c5fa71805dR305)