Added full (hopefully) API support for deities.