Modify class parent