Added min/max length methods to interface.