Formula: fix class-level version accessor

When given no arguments, this should return the stable version, but it
hasn't since we stopped setting this direction in the class's @version
variable.