Properly walk prototype chain to delegate lifecycle callback execution. Fixes #36.