Restore stubs