Simplify function loading