Adjust some functions.