Bean coverters: convert an object to some specific type.