Fix doxygen documentation

I think this function should have @param's defined and the others should copydoc from that