Added stubs for all missing functions.