The powers of the Director of Public Prosecutions on the discharge of an accused person by the magistrate to direct a committal for trial and to give the necessary directions in respect thereto, are contained in section 808.