Add support for accessing properties via scripting (WIP)