Add utility methods for reflection