Fixed two warnings reported by Software Center.