Fix dependencies.

This whole flexible dependency thing sucks.