Added message type offset in pop() methods
Spelling fixes