fix documentation. removes a misplaced def clause