Restoring habitat