Merge "Validate context when using RS objects."