Add objc-method-definer to simplify adding a new method accessible by Objective C.