Added ability to configure rows and columns.