Input the topK

Allow other interfaces to call topK objects.