im_project() becomes a class