Add error checking when getting property

Also added PAN API
2 files changed