Fix requiring type in helpers