Addressed warnings that occurred when security was enabled.