Accept proc and array for redis namespace