Add the auto-instance pattern inspired by jQuery