Possible fix on setExtra method for dynamically typed object extras.