Fix device page class import