Add QNUtils class, which contains some helper methods.