Change api structure.