Compatibility to ActiveModel API