Make all ExternalValueBase functions const