renamed Course.category to level