correct typo "specificed" -> "specified"
More detail in error message
tell the user which type these classes are being registered for