Add attached property support
formatting fixed
Merge pull request #518 from pekabon/master

Add attached property support