[UNSTABLE] refactor Swift::Helpers::Template