Packed attribute fix and some optimizations.

Packed attribute now read correctly. fixes #22
Also optimized meta method calls by making the often used default parameters constant.