Removed type annotations on input and unused functions