Helper methods for better UI design.