Added support to sub property.
Set a default value and condition fix
Condition fix
Merge pull request #20 from Gizra/sub-property

Added support to sub property.