Add a lot of contrib functions