Added hasProperty method and change context of action callback