Modified to remove warnings from rustc 0.9.

No code changes -> only removal of attribute directives.