I miss documentation to explain nil will be returned when error.