Added a nice note about expectations of arbitrary functions