Extract the inline templates into their own files and let the builder stick them back in the markup.