Allow using a custom nib. ref #563