HOPKINS: Constify some functions and members