Fixing issue with mutable and g++ by just getting rid of constness of that function.