Const correctness for tap.