Skip methods if main is found