Change name of a method and publicity of a constant