Route all back-end calls through a single function to keep things consistent