Added error messages for nonexistent types