support 'package NAME BLOCK' syntax.