Use scope to get and set code.