protected function defineAttributes() { return array('key' => AttributeType::String, 'body' => AttributeType::String, 'htmlBody' => AttributeType::String); }