Rearranged some absolutely irrelevant functions.