`ParameterError` cleanup and `Device` interface improvements

Closes #233