Fix issue with object extensions