Clean up of reserved resources. Closes #122.