Remove method from package generator