Removed attributes (now that elem is passed)