Ensure that unspecified kind will raise error in repository.