Inlines a private method if it has only one usage.