Removing bottom type and using unit type.