Added a builder pattern.