Fixed lint issue.
Put methods into class body.