Fixes missing dependency in core-data