The commission may consult the Attorney General with reference to any matter upon which it may require advice, and the Attorney General shall give such advice as the commission may require and perform such other services within the line of duty as the commission may require.