Added class to proc and array to proc