Add some APIs into web context.