Fixed typos and removed defaultType from Hash