Replaced a deprecated function.
Version bump