Places them in correct class.