Matching Django's method to add internal fields