Added support for MasterDetailPage