Moved opXX functions out of header, made them static.