Use anonymous category for private methods and properties

Anonymous and named categories behave differently.