Custom setter in bindings should have attribute name as the first parameter and value as the second.
Added registerParameters method to the ServiceContainer class.