Updated to ensure that keys are not prefixed with a "/" character.