replaced console object and collections with targetType CONSOLE, console method to be specified by targetId