Fixed problem where Reference.getFor() wouldn't return the whole URL