Adding support to load entities from lazy information.

Related to #2