Fixed bug that prevented IoC Container from passing values by reference