Removes mechanics printing deprecation warning. Fixes issue #7913.