Lm add parent polymorphic singular resource functionality