Add Ruby DSL shortcut for shard type.