Added two class methods to define available methods and filter wanted from unwanted methods