remove default and publish class method