Adds cropObject to doCrop method.