Cleaned up constructor code for GridField classes