Add generics to Context arguments to methods in GraphStrategy.