Refactor LazyProxy for different subclass behavior.
No python 3 for the moment.