Clean attributes

Fixes part of https://github.com/quintel/etsource/issues/202