Adding profile service calls to library