Added a public API for Base domain

Also fixed build regarding internal use of the public F API.