Perform some maintainance.