Adding nil as a possible type