More generic grid system.