gets rid of internal methods on modifiers