Added some inq functions.