Added basic team handling.