registration block is now a static function. Rejoice