move class methods to << block