Changed crate attributes to new syntax