Reorganize the backend interface definitions