Fixed code sniffer errors.