Added some inline and packed attributes