code: public Collection<Goal> goals(GoalFilter filter) {
          return get(Goal.class, (filter != null) ? filter : new GoalFilter());
      }
docs: Get Goals filtered by the criteria specified in the passed in filter.
  
  @param filter Limit the items returned. If null, then all items returned.
  @return Collection of items as specified in the filter.