Enable keep attrs

Fixes #138