Make populate fields an instance method