Revert "changes for back compatibility (removed the pointer)"

Commenting the lines is pointless. The next commit will just remove the line

This reverts commit c9e67503d803cdce94ab435ff93ed9e6fe9dc07e.
Remove redundant histogram