Allow attributes to be accessed through [] and []=