Create shortcode inside a class