Added doc to get-type, fixed typo.