Add custom type support to hasMany extra properties