Hides exposed testing method, cleans up ExternalResource use and removes one 'unchecked' warning.