Remove deprecated addEvents-call.
More docs with regard to raw-property.
Load variants when testing headless.
Better error message format.
Remove commented code.