Fixed compilation. but still lots of stubs. unusable