Simplify `classes` accessor