Use six to handle metaclassing