Added support for attribute lists
Added function for reading both resident and non-resident attributes