Make assignment optional in custom property definition