Add more stubs and implementations for needed methods.