Cleanup some legacy code.

Signed-off-by: Norv <norv@simplemachines.org>