Extend mark API with search