republic: remove duplicate implementation