Only specify main version, not patch level.
Use correct method.