Custom post type support via a filter. Needs more testing, and one @todo to complete

See #2