Automatically use key when required