Fixes some issues + adds Mongoose like populate support