References seem to work everywhere. Closes #15.