add some stubs for legacy