Can't you resolve it by name as a string?