Fixed some Eclipse warnings