Adapat class once when class is created

There is no need to plug the correct _execute_child funcion when an
instance is created, since Python version does not change between calls.