Removed a couple of const qualifiers that were ignored.