Further improved error messages, particularly in the case where the package declaration is incorrect.
Also updted missing method error handling to account for methods with variable arity.