Add a bit more documentation to makeDevice