Added mapping and repositories.