Revert "Use parser to check for native template"

This reverts commit 1c8527d92ac35b7c7b926fc9e86e3a983594dc7f.