Type sigs
Fix integer serialization