Implement a basic constructor.