Based on emberjs, parse api.