Cleaning backends code