Moves method and property declarations from an interface to a private category.