Added `use` function that allows importing classes to the template and optionally provides these as functions and blocks