Add instance functionality.