Allow bits operator
Fix attributes adding