Turns out I have to use only one template definition method at once: https://github.com/kernow/shortcode/issues/21