Updated getType access to public