Removed unused attributes

These attributes led to compiler warnings with the latest rust-compiler.
Merge branch 'master' into box_inplace