Add layout object to be passed as at initialization.