Added ToInt64 method