Internal Diagrams in Category Theory