set 'std' to service_type, when generating an instance.
fix the indent of the correction part.
Merge pull request #150 from axsh/set-instance-service-type

set 'std' to service_type, when generating an instance.