Support for background.

Closes #6.