Support $expand.

Hi, I added support for the $expand option. Hope it's OK. Thanks!