GROOVY-6346: allow package keyword to appear in select places