Add API fixture definition handler.

* Ugly...