Package constructor now throws an exception when invalid args are given.