Post-817 cleanup: added missing license. removed unused function.