Allow spaces in refs