Using magic array to add extensibility