Remove Item#type and replace it with Item#className, the non-hyphenated version of #type.
Simplify and merge Item#getItems() code with Project#getItems()