Adds support for using expressions as reference to any member of a class.
Solution proposed here: http://bit.ly/18xjZLZ