Remove unecessary variables and operations, simplify things a little
Make use of existing code, no need to re-write it every time
Fix case where attribute doesn't need to have a value
Add space
Merge pull request #2 from tannwestlake/cc/tidy-input-generator

Make use of existing code, no need to re-write it every time
Merge pull request #1 from tannwestlake/cc/optimisation

Remove unecessary variables and operations, simplify things a little
Register the Entry post type