support web reference injection without component types