Remove incorrect usage of where callback style in uniq().
Resolve circular imports.

Closes #11
Pylint.