Adding in defensive coding measures.