Simpler code for stubs.