Delete beans and types.