Classes bound by name into container were not receiving parameters