Add useful function stubs
Use Plave type where appropriate