Implemented replacement for swab.