Issue #246 Useless method was inlined