Fixes copy/paste error.
Docblock updates.
Adds database selection code.
Adds support for fixtures.