Change interface from expect<T,E> to expected<E,T>.