Moved/renamed decode_instruction and encode_arg as staticmethods
+ Fixed some typos and updated some tests.