Removing un-used type error message