Added an ability to use parent attribute