Some minor cleanups.
Handle quota exceeding as error.