Add support to register immutable functions
Import snapshot deps only