adds require to spec and adds better doc to parser