Properly set whether a method is inherited