added AwareInterface and AwareTrait for service registry