Added fixes to support the noImplicitAny flag