More logical function ordering.