add nil and boolean to classify