Add support for a runtime argument to choose the runtime type