set package in abstract class also

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>