Fixed warnings and canReorder instance variable bug.