Migrate home() from util module.