Added a basic "Capsule" implementation.