CHEF-5372: Making levels def cleaner - thanks @sersut