Generalizing for use with multiple environments.