Improves contains functions, currying