Fixed code sniffer issues.