Implemented new API for getting tops in filters.