Added specifying :ref option in inject