Remake old APIs using new APIs