Support for custom ids.