Working on template selector (unstable)