Remove some obsolete functions and requirements.
Fix some typos.