Remove the allowedTypes, as this is applicable for any type (you can always get the bytes for any type)