Updated the README file to reflect the getType method