Stripping while/for functionality.