Implementation of minimal factories