Added a type getter.
Done for tonight