Added missing function visibility to the specs

First of a few pulls to replace #6.