Changed loggable_type to string