def METHOD_NAME(self, compile_wordpress, wordpress_modules):
    self._user_logged_in = False
    self._compile_wordpress = compile_wordpress
    compile_wordpress.register_shortcode('gallery', self._process_gallery_tags)