Allow refs as strings, passed to compile (See #2)