Various cleanups.
Fixed hook_requirements().