Flesh out activations.mli and hide some implementation details