Separate local and remote functions.