Grammar support for import functionality