Add some APIs into web engine.