When you get a compile error as follows:
" error accessing unknown ??? component of a property "
This means that you are missing an import statment. The missing import is the one that you have the error. Once you add the missing import, the program shall compile correctly.