SFP: replace class with schema