Delegate-based automagic configuration of NaCl primitives