Control of bodily functions