Implementation of filter.

	* Basic implementation of the filter feature.