Moving function orders to make the review easier.