Added default rendering code to context.