Add support for package scanning with annotations