Fixed warnings from Syntax cop.