Detect module based on keywords instead of filename. Optional coffee support