platform: bye bye hand-written stubs