Generate package imports