The problem I have is that code completion works fine on attributes that are instances of classes, as long as you are not inside a function. When inside a function, it stops working.
See attached file for an example.
Example
Example