Added missing dependencies and resources.
[NSCalendarUnit] Fixed deprecated API usage