Updated pyflakes script to ignore redefined method names in submodel