Added ability to do synchronous deposits.

refs #5980