Added serial impl.