remove old docs and not used code, closes #2157