Fix bad variable name.
Add interface Referenceable<T> to make it possible to call methods with entity or reference, close #73.