Face: Implement registerPrefix.
tests: Added TestPublishAsync.