Revert "Use autoload files to support function"

This reverts commit 527173ffebde055707604f18850959f8a307884b.