better ngdoc + removed useless function