add support for static key.