CL call here messes up the exception handling.

Todo: change this everywhere else as well
Fix reference counting.

Note: changes CLMemories etc. to take an array instead of variadic
arguments.