Returning nil if class is false