Added compose functionality.