Remove redundancy from eclipse