Monkey patches used by llt gems