Adds a filter method on Opt