Added support for importing of key