Add support for configurable staging option.