Added simple stub methods and tests for them.