Further refined main method check in unused member rule