Stub methods

This is the first commit for stubMethods branch.