Add generic grid API