remove definitions from rst