Add isset check for resource properties