Set attributes and methods for dolphin class