Add the private and class method modifiers.