Injection to custom class finally works!