Service: Add name() and service() to fetch meta data

This commit also adds an example for the two methods.