Rearranged the ordering of the method definitions in the code.
(Just cosmetic for the code.)