Class refinement