Added an exception for invalid data sources.
Added an data implementation for pkgnx.