Make defaultMethodName a constant at compile time.