Should this method error if location.category is not course?