Removing eclipse warnings