Move some elements to a helper for social