Export functions from Prism.

Also, we can implement `nearly`/`only`, as the guard is monomorphic.
Export things at the top level.