De-nest functions for better readability.