Add method to set the Device extra configuration space.
Fix compilation warnings.
Rename variable and fix comment.
Throw error if vector of joint bounds is not of the right size.