Remove stack from library structures