Updated bind filtering to replace the need for M.prepare. Also looking in the global namespace for filter functions.