public function register() { $configuration = array(static::$type => serialize($this)); Configuration::writeArray($configuration); }