Implemented various data size limitations.