Use the DEFINE method to define methods for your new class. To define a TYPE method and a NAME= method, enter:
account~define('TYPE', 'return "an account"') account~define('NAME=', 'expose name; use arg name')