Conformed to hobo gem standards. Changed for type to cktext.