Moving to more abstract SequenceFunction interface, there may be problems with the cuckoo implementation.