Add adapter interface
Fix warning in mix task