Add a crate_type attribute