Use shared context to reduce extra redundant code.