Utility functions for observing source code.