Added package:methods to excludeObjects