Improving populate method.