Refined checkstyle profile and fixed issues.