[mlpl][SmartTime] Clean up by a helper function.