Add function wrapper for mimedb
Merge remote-tracking branch 'upstream/master'