Implement context processor decorator

Example usage