Implement backend support for filters

FINALLY. Closes #11.
Aaargh