Remove unused attributes