Separate pointer and unit code.