wire in completions for reference classes

This gives us completions on `$` and `@` for reference classes and reference object generators.