Added more stubs.
Eliminated all warnings.