Improve Javadoc in database package.