Wrap stuff in a self executing function.