Added carbon to database dependencies. Closes #1026.