add support to comply with Active Model API