Added semantics field to ctx