Add support @inject property as function