Check for properties before using them.