Removed method definition to include as inline code and changed to iter_mut.