Allow Device class to be instantiated multiple times. Fixes #1