Fix issue with metaclass - genty can't delete methods defined by metaclass, so fail gracefully.