Adding entity api dependency