#update - correctly check for mixin module type