Save created objects into variables to avoid re-lookup.