Allowing to use strings inestead of properties