Add support for attribute access