This was a huge pain.  If you can figure it out, let me know, but I was finding that in __init__.py we were hiding the module composite by saying "from burnman.composite import composite".

This is specifying that I really want the module, not the type.