Add a filtered input class to abstract away accessing post variables directly.