Add grid functionalities.