Remove any reference to the removed 'direction' parameter in various interval-related functions