Example of simple proxy implementation, various compilation improvements