Fixed a spelling mistake and cleaned up the member types in types.jl.

Signed-off-by: Ted Steiner <tsteiner2@gmail.com>