Remove needless '&mut self' from element.rs.

related #2514