Avoid mixing class definition and runnable code in one file.