Outsource functions.