Revert "Merge pull request #350 from Patternslib/pat-stacks"

This reverts commit 4c53ec16e41ffa1349dd789e5dd5f19e7d852be2, reversing
changes made to 5562b8eaf0b9dabb68f34fd34b5f3e1830af66ff.