Revert "markup method exposed programmatically"

This reverts commit 4e6aa668dbd9b0ebab08914ac2bf370bc8e820bf.