Implementation passes existing tests.