Plugin changes "extend" method, so it can create named constructor, which makes debugging memory leaks easier.