Added more backend functionality.