Removed unnecessary code fore ModelRefine