Added support for custom NIBs