Fix dangling method definition.