code: public <T extends Post> T newPost(String blogName, Class<T> klass) throws IllegalAccessException, InstantiationException {
          T post = klass.newInstance();
          post.setClient(this);
          post.setBlogName(blogName);
          return post;
      }
docs: Set up a new post of a given type
  @param blogName the name of the blog for this post (or null)
  @param klass the type of Post to instantiate
  @param <T> the type of Post to instantiate
  @return the new post with the client set
  @throws IllegalAccessException if class instantiation fails
  @throws InstantiationException if class instantiation fails