Implement a  directive for packages