Remove use of generic varargs in DAO which causes unsafe warnings when subclassed in JDK7.