Use Competence class instead of Document