Addressed some code warnings.