Refactored some more for API.
Entities are now shadowed from sunlight.