add code substitutions for Collection and Object