Removed unused attributes

These attributes led to compiler warnings with the latest rust-compiler.