Moved minimum definitions from XTL library to support subtype casting