Add check for openreferences.