Changed variable value type to dynamic instead of object.