Remove obsolete functions. Closes #162.