Register stubs with payload.