Abbreviations given and renaming of histogram functions
Fixed serialization