Removing superfluous database calls.
Removing outdated buttons.