Added interface functionality for adding primatives