Fix missing dependencies.
Add test.
Fix iOS type.
Generic awesomeness.