Refactored usage of DB connection properties.