Added account and chain support for keys.