Cope when the file contains no methods