Add support for import: and template declarations