Made one method in DM for facilities for getting types