Added stubbing helper methods, and support for expects on statement functions