added is_a for package.