Attributes, method calls and subscript operator

Adds support for those.