New API for materials