Added attribute/spatial filtering methods to layers.