added packed attribute to all extended types