Remove # from the beginning and end of def names.