Support functionality extracted from RestKit