[core] Updated haddock documentation