Addressed compiler warnings