Fixed that 'ns' should be callable as a function.