Fixed injection function empty body issue.