- Can you please remove the spaces around `define_finalizer`?
- Can you please adhere to the 80-character line breaks - this might mean converting the predicate conditional to a full wrapper conditional.
- Could you please use the explicit parenthesis around `has_key?`