Improved docs, removed possibly faulty logic in isElementParsed