Started implementing key deriver.