BaseDAO does not compile and prevents #376 to be completed. refs #376