Add decorating "type" attr extension for service refs