allow a static function to access static slots directly