Improved section on Declaring Types and Classes.