Fixed warnings (Eclipse 4.3).