Refactor how sample data is loaded. #94.