Adding prototype pattern.