diff --git a/MediaBrowser.Model/Querying/ItemsByNameQuery.cs b/MediaBrowser.Model/Querying/ItemsByNameQuery.cs
index 9986f90ec0..1d88496480 100644
--- a/MediaBrowser.Model/Querying/ItemsByNameQuery.cs
+++ b/MediaBrowser.Model/Querying/ItemsByNameQuery.cs
@@ -67,12 +67,15 @@ namespace MediaBrowser.Model.Querying
/// The sort by.
public string[] SortBy { get; set; }
+ public ImageType[] ImageTypes { get; set; }
+
///
/// Initializes a new instance of the class.
///
public ItemsByNameQuery()
{
- Fields = new ItemFields[] {};
+ ImageTypes = new ImageType[] { };
+ Fields = new ItemFields[] { };
Recursive = true;
MediaTypes = new string[] { };
SortBy = new string[] { };
diff --git a/MediaBrowser.Model/Querying/PersonsQuery.cs b/MediaBrowser.Model/Querying/PersonsQuery.cs
index a4b7eab712..a859ece1f1 100644
--- a/MediaBrowser.Model/Querying/PersonsQuery.cs
+++ b/MediaBrowser.Model/Querying/PersonsQuery.cs
@@ -1,4 +1,5 @@
-
+using MediaBrowser.Model.Entities;
+
namespace MediaBrowser.Model.Querying
{
///