Unneeded attributes removed