Added record pack functions.
Added entity msg overloads.