Import method for user getting correct legacy key function.