Fixed NSError declarations.