Added int and long methods recording support.