Discuss safe and unsafe APIs in security chapter