Fixed leap compiler errors.