Clean up syntax of populate method