Move method into SmartRecord