Added valueOf for even more magic dependencies