Adding Functions for Editor Integration