Allow passing a string to filters. Fixes #20.