Size reduction and documentation