Fixed haddock warnings.
Library is now 'safe'.