Added check methods to check if declarations clash with event names