Register methods or functions as procedures.