gcc 4.7.2 doesn't allow static keyword in member function definition.