Fixed most PMD-warnings in Level.