#14: refactored getting page entity