Make some refinements to obj class.