adding class information on extra property