Adjust declaration order.