Modernized property snippet

I've replaced the existing property snippet with a version that is more in line with current best practices.