Fix to type interface (inconsistent with implementation).