Remove unneeded attribute