Is there any reason for the extra function now?  Also, the error that gets reported is just "analyze" if I recall.  Is that what the errback is expecting?  I wasn't sure what codeUnit.error was supposed to represent.