Implement template import statement.