Added optional  parameter to QueryBuilder's and TranslatableRepository's methods