Added easier construction of filters