Adds support for custom rendering