Fixed method declaration/implementation order.