Fix oops typo. Make other functions match style. Turn off debug functions.