Factor out wtw-base