Refactor on *Key* methods to be compliant with new Msg interface.
Go back to java 1.6 for j2c.