Reorder methods to put them in public/private/internal order.