Wrapped stuff in functions.