Separate the common render context (clean code)