Further changes for v1 - for percentage sizes, custom units, handling errors