Fixing element and parent contexts.