Remove layouts[] and sellt in favour of direct use of function pointers.